package com.example.helloword.bean;

import android.util.Log;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import com.example.helloword.BR;


public class User extends BaseObservable {
    private int cont=0;

    @Bindable
    public int getCont() {
        return cont;
    }

    public void setCont(){
        cont++;
        Log.v("User",cont+"");
        notifyPropertyChanged(BR.cont);
    }
}
